const getters = {
  device: state => state.app.device,
  theme: state => state.app.theme,
  color: state => state.app.color,
  sidebar: state => state.app.sidebar,
  token: state => state.user.token,
  userInfo: state => state.user.info,
  roles: state => state.user.roles,
  avatar: state => state.user.info.avatar,
  nickname: state => state.user.info.name,
  addRouters: state => state.auth.addRouters,
  industrialModelRouters: state => state.auth.industrialModelRouters,
  DevOperAndcenterRouters: state => state.auth.DevOperAndcenterRouters,
  industrialBigDataRouters: state => state.auth.industrialBigDataRouters,
  dataModelingRouters: state => state.auth.dataModelingRouters,
  actions: state => state.auth.actions,
  multiTab: state => state.app.multiTab,
  lang: state => state.i18n.lang
}

export default getters
